home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Beauty of Chaos
/
Beauty of Chaos, The - Vol. 1 (1995)(Schatztruhe)[!][Amiga-Mac-PC].iso
/
mac
/
gifconverter2.37.cpt.hqx
/
GIFConverter 2.3.7.rsrc
/
bin.rsrc_CODE_56_ReadJPEG.txt
< prev
next >
Wrap
Text File
|
1994-01-29
|
45KB
|
769 lines
# near model CODE resource
# jump table entries: 21272-21272 (1 of them)
00000000 4E56 FFE8 link A6, -0x0018
00000004 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000008 282E 0010 move.l D4, [A6 + 0x10]
0000000C 286E 0008 movea.l A4, [A6 + 0x8]
00000010 2044 movea.l A0, D4
00000012 4A90 tst.l [A0]
00000014 6606 bne +0x8 /* 0000001C */
00000016 7AFF moveq.l D5, 0xFFFFFFFF
00000018 6000 0088 bra +0x8A /* 000000A2 */
label0000001C:
0000001C 422E FFFF clr.b [A6 - 0x1]
00000020 4245 clr.w D5
00000022 2044 movea.l A0, D4
00000024 2650 movea.l A3, [A0]
00000026 486E FFFF pea.l [A6 - 0x1]
0000002A 4EAD 054A jsr [A5 + 0x54A /* export_165 */]
0000002E 202E 000C move.l D0, [A6 + 0xC]
00000032 D08B add.l D0, A3
00000034 B0AC 0008 cmp.l D0, [A4 + 0x8]
00000038 6F60 ble +0x62 /* 0000009A */
0000003A 2C2C 0008 move.l D6, [A4 + 0x8]
0000003E 9C8B sub.l D6, A3
00000040 2F0B move.l -[A7], A3
00000042 2F2C 0004 move.l -[A7], [A4 + 0x4]
00000046 2F06 move.l -[A7], D6
00000048 4EAD 0422 jsr [A5 + 0x422 /* export_128 */]
0000004C 2E2C 0010 move.l D7, [A4 + 0x10]
00000050 9E86 sub.l D7, D6
00000052 BEAC 000C cmp.l D7, [A4 + 0xC]
00000056 6F04 ble +0x6 /* 0000005C */
00000058 2E2C 000C move.l D7, [A4 + 0xC]
label0000005C:
0000005C 4A87 tst.l D7
0000005E 6734 beq +0x36 /* 00000094 */
00000060 2D47 FFE8 move.l [A6 - 0x18], D7
00000064 4267 clr.w -[A7]
00000066 486E FFE8 pea.l [A6 - 0x18]
0000006A 2006 move.l D0, D6
0000006C D0AC 0004 add.l D0, [A4 + 0x4]
00000070 2F00 move.l -[A7], D0
00000072 2F14 move.l -[A7], [A4]
00000074 4EAD 4EDA jsr [A5 + 0x4EDA /* export_2519 */]
00000078 3A1F move.w D5, [A7]+
0000007A 2007 move.l D0, D7
0000007C 91AC 000C sub.l [A4 + 0xC], D0
00000080 2006 move.l D0, D6
00000082 D0AC 0004 add.l D0, [A4 + 0x4]
00000086 D087 add.l D0, D7
00000088 2940 0008 move.l [A4 + 0x8], D0
0000008C 90AC 0004 sub.l D0, [A4 + 0x4]
00000090 2940 0010 move.l [A4 + 0x10], D0
label00000094:
00000094 2044 movea.l A0, D4
00000096 20AC 0004 move.l [A0], [A4 + 0x4]
label0000009A:
0000009A 486E FFFF pea.l [A6 - 0x1]
0000009E 4EAD 054A jsr [A5 + 0x54A /* export_165 */]
label000000A2:
000000A2 3D45 0014 move.w [A6 + 0x14], D5
000000A6 4CDF 18F0 movem.l D4,D5,D6,D7,A3,A4, [A7]+
000000AA 4E5E unlink A6
000000AC 205F movea.l A0, [A7]+
000000AE DEFC 000C add.w A7, 0xC
000000B2 4ED0 jmp [A0]
000000B4 8C4A or.w D6, A2
000000B6 5045 addq.w D5, 8
000000B8 4752 chk.w D3, [A2]
000000BA 4541 chk.w D2, D1
000000BC 4444 neg.w D4
000000BE 4154 chk.w D0, [A4]
000000C0 4100 .invalid 0, D0 // invalid opcode 4 with b == 4
000000C2 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000000C4-000000CA
fn000000C4:
000000C4 4E56 0000 link A6, 0
000000C8 2F0C move.l -[A7], A4
// end alternate branch 000000C4-000000CA
fn000000C4: // (misaligned)
000000C6 0000 2F0C ori.b D0, 0xC
000000CA 286E 0008 movea.l A4, [A6 + 0x8]
label000000CE:
000000CE 1F3C 0001 move.b -[A7], 0x1
000000D2 4EAD 4EA2 jsr [A5 + 0x4EA2 /* export_2512 */]
000000D6 4267 clr.w -[A7]
000000D8 486C FFFE pea.l [A4 - 0x2]
000000DC 2F2C 0010 move.l -[A7], [A4 + 0x10]
000000E0 4EAD 4EE2 jsr [A5 + 0x4EE2 /* export_2520 */]
000000E4 4EAD 38F2 jsr [A5 + 0x38F2 /* export_1818 */]
000000E8 0C6C 00FF FFFE cmpi.w [A4 - 0x2], 0xFF
000000EE 66DE bne -0x20 /* 000000CE */
000000F0 206C 000C movea.l A0, [A4 + 0xC]
000000F4 70FF moveq.l D0, 0xFFFFFFFF
000000F6 B0A8 0006 cmp.l D0, [A0 + 0x6]
000000FA 661E bne +0x20 /* 0000011A */
000000FC 4267 clr.w -[A7]
000000FE 206C 000C movea.l A0, [A4 + 0xC]
00000102 4868 0006 pea.l [A0 + 0x6]
00000106 2F2C 0010 move.l -[A7], [A4 + 0x10]
0000010A 4EAD 4F02 jsr [A5 + 0x4F02 /* export_2524 */]
0000010E 4EAD 38F2 jsr [A5 + 0x38F2 /* export_1818 */]
00000112 206C 000C movea.l A0, [A4 + 0xC]
00000116 53A8 0006 subq.l [A0 + 0x6], 1
label0000011A:
0000011A 4267 clr.w -[A7]
0000011C 486C FFFE pea.l [A4 - 0x2]
00000120 2F2C 0010 move.l -[A7], [A4 + 0x10]
00000124 4EAD 4EE2 jsr [A5 + 0x4EE2 /* export_2520 */]
00000128 4EAD 38F2 jsr [A5 + 0x38F2 /* export_1818 */]
0000012C 4267 clr.w -[A7]
0000012E 486C FFF8 pea.l [A4 - 0x8]
00000132 2F2C 0010 move.l -[A7], [A4 + 0x10]
00000136 4EAD 4F02 jsr [A5 + 0x4F02 /* export_2524 */]
0000013A 4EAD 38F2 jsr [A5 + 0x38F2 /* export_1818 */]
0000013E 285F movea.l A4, [A7]+
00000140 4E5E unlink A6
00000142 2E9F move.l [A7], [A7]+
00000144 4E75 rts
00000146 8947 4554 pack D4, D7, 0x4554
0000014A 4D41 chk.w D6, D1
0000014C 524B addq.w A3, 1
0000014E 4552 chk.w D2, [A2]
00000150 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000154 0000 2F0C ori.b D0, 0xC
00000158 286E 0008 movea.l A4, [A6 + 0x8]
0000015C 206C 000C movea.l A0, [A4 + 0xC]
00000160 70FF moveq.l D0, 0xFFFFFFFF
00000162 B0A8 0006 cmp.l D0, [A0 + 0x6]
00000166 6734 beq +0x36 /* 0000019C */
00000168 2F3C 0001 0000 move.l -[A7], 0x10000
0000016E 206C 000C movea.l A0, [A4 + 0xC]
00000172 2028 0006 move.l D0, [A0 + 0x6]
00000176 5280 addq.l D0, 1
00000178 2F00 move.l -[A7], D0
0000017A 2F2C 0010 move.l -[A7], [A4 + 0x10]
0000017E 4EAD 4EFA jsr [A5 + 0x4EFA /* export_2523 */]
00000182 4EAD 38F2 jsr [A5 + 0x38F2 /* export_1818 */]
00000186 206C 000C movea.l A0, [A4 + 0xC]
0000018A 70FF moveq.l D0, 0xFFFFFFFF
0000018C 2140 0006 move.l [A0 + 0x6], D0
00000190 206E 0008 movea.l A0, [A6 + 0x8]
00000194 2C48 movea.l A6, A0
00000